<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<table><tr>
<c:if test="${model.pageresultcount>0 }">
<td><div id="div0">
<table><tr><td>
<a href='photo_${model.photo[0].previewid }.jpg' rel='lightbox[roadtrip0]' title='phototitle'>
<img src='preview_${model.photo[0].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[0] }" var="r"><c:if test="${r!=model.photo[0].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip0]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[0].title }
</td></tr><tr><td>
Description:${model.photo[0].description }
</td></tr><tr><td>
Viewed:${model.photo[0].view }
</td></tr><tr><td>
Voted:${model.photo[0].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[0].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=0 }"><td><div id="div0"></div></td></c:if>
<c:if test="${model.pageresultcount>1 }">
<td><div id="div1">
<table><tr><td>
<a href='photo_${model.photo[1].previewid }.jpg' rel='lightbox[roadtrip1]' title='phototitle'>
<img src='preview_${model.photo[1].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[1] }" var="r"><c:if test="${r!=model.photo[1].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip1]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[1].title }
</td></tr><tr><td>
Description:${model.photo[1].description }
</td></tr><tr><td>
Viewed:${model.photo[1].view }
</td></tr><tr><td>
Voted:${model.photo[1].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[1].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=1 }"><td><div id="div1"></div></td></c:if>
<c:if test="${model.pageresultcount>2 }">
<td><div id="div2">
<table><tr><td>
<a href='photo_${model.photo[2].previewid }.jpg' rel='lightbox[roadtrip2]' title='phototitle'>
<img src='preview_${model.photo[2].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[2] }" var="r"><c:if test="${r!=model.photo[2].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip2]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[2].title }
</td></tr><tr><td>
Description:${model.photo[2].description }
</td></tr><tr><td>
Viewed:${model.photo[2].view }
</td></tr><tr><td>
Voted:${model.photo[2].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[2].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=2 }"><td><div id="div2"></div></td></c:if>
<c:if test="${model.pageresultcount>3 }">
<td><div id="div3">
<table><tr><td>
<a href='photo_${model.photo[3].previewid }.jpg' rel='lightbox[roadtrip3]' title='phototitle'>
<img src='preview_${model.photo[3].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[3] }" var="r"><c:if test="${r!=model.photo[3].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip3]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[3].title }
</td></tr><tr><td>
Description:${model.photo[3].description }
</td></tr><tr><td>
Viewed:${model.photo[3].view }
</td></tr><tr><td>
Voted:${model.photo[3].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[3].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=3 }"><td><div id="div3"></div></td></c:if>
<c:if test="${model.pageresultcount>4 }">
<td><div id="div4">
<table><tr><td>
<a href='photo_${model.photo[4].previewid }.jpg' rel='lightbox[roadtrip4]' title='phototitle'>
<img src='preview_${model.photo[4].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[4] }" var="r"><c:if test="${r!=model.photo[4].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip4]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[4].title }
</td></tr><tr><td>
Description:${model.photo[4].description }
</td></tr><tr><td>
Viewed:${model.photo[4].view }
</td></tr><tr><td>
Voted:${model.photo[4].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[4].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=4 }"><td><div id="div4"></div></td></c:if>
</tr><tr>
<c:if test="${model.pageresultcount>5 }">
<td><div id="div5">
<table><tr><td>
<a href='photo_${model.photo[5].previewid }.jpg' rel='lightbox[roadtrip5]' title='phototitle'>
<img src='preview_${model.photo[5].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[5] }" var="r"><c:if test="${r!=model.photo[5].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip5]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[5].title }
</td></tr><tr><td>
Description:${model.photo[5].description }
</td></tr><tr><td>
Viewed:${model.photo[5].view }
</td></tr><tr><td>
Voted:${model.photo[5].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[5].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=5 }"><td><div id="div5"></div></td></c:if>
<c:if test="${model.pageresultcount>6 }">
<td><div id="div6">
<table><tr><td>
<a href='photo_${model.photo[6].previewid }.jpg' rel='lightbox[roadtrip6]' title='phototitle'>
<img src='preview_${model.photo[6].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[6] }" var="r"><c:if test="${r!=model.photo[6].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip6]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[6].title }
</td></tr><tr><td>
Description:${model.photo[6].description }
</td></tr><tr><td>
Viewed:${model.photo[6].view }
</td></tr><tr><td>
Voted:${model.photo[6].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[6].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=6 }"><td><div id="div6"></div></td></c:if>
<c:if test="${model.pageresultcount>7 }">
<td><div id="div7">
<table><tr><td>
<a href='photo_${model.photo[7].previewid }.jpg' rel='lightbox[roadtrip7]' title='phototitle'>
<img src='preview_${model.photo[7].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[7] }" var="r"><c:if test="${r!=model.photo[7].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip7]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[7].title }
</td></tr><tr><td>
Description:${model.photo[7].description }
</td></tr><tr><td>
Viewed:${model.photo[7].view }
</td></tr><tr><td>
Voted:${model.photo[7].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[7].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=7 }"><td><div id="div7"></div></td></c:if>
<c:if test="${model.pageresultcount>8 }">
<td><div id="div8">
<table><tr><td>
<a href='photo_${model.photo[8].previewid }.jpg' rel='lightbox[roadtrip8]' title='phototitle'>
<img src='preview_${model.photo[8].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[8] }" var="r"><c:if test="${r!=model.photo[8].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip8]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[8].title }
</td></tr><tr><td>
Description:${model.photo[8].description }
</td></tr><tr><td>
Viewed:${model.photo[8].view }
</td></tr><tr><td>
Voted:${model.photo[8].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[8].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=8 }"><td><div id="div8"></div></td></c:if>
<c:if test="${model.pageresultcount>9 }">
<td><div id="div9">
<table><tr><td>
<a href='photo_${model.photo[9].previewid }.jpg' rel='lightbox[roadtrip9]' title='phototitle'>
<img src='preview_${model.photo[9].previewid }.jpg'/></a>
<c:forEach items="${model.rawid[9] }" var="r"><c:if test="${r!=model.photo[9].previewid }"><a href='photo_${r }.jpg' rel='lightbox[roadtrip9]' title='phototitle'></a></c:if></c:forEach>
</td></tr><tr><td>
Title:${model.photo[9].title }
</td></tr><tr><td>
Description:${model.photo[9].description }
</td></tr><tr><td>
Viewed:${model.photo[9].view }
</td></tr><tr><td>
Voted:${model.photo[9].voted }
</td></tr><tr><td>
<c:forEach items="${model.photo[9].tags }" var="t"><a href='getbytag.htm?tag=${t.id }'>${t.word }</a>;</c:forEach>
</td></tr></table></div></td></c:if>
<c:if test="${model.pageresultcount<=9 }"><td><div id="div9"></div></td></c:if>
</tr></table>